/* CSS file - Standard Stylesheet */
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
@namespace esri "http://www.esri.com/2008/ags";
@namespace viewer "com.esri.viewer.*";
@namespace viewerComps "com.esri.viewer.components.*";
@namespace apiComps "com.esri.ags.components.*";

viewer|WidgetTemplate
{
    background-alpha: 0.8;
    borderStyle: solid;
    borderThickness: 1;
    cornerRadius: 5;
    dropShadowVisible: true;
    horizontalScrollPolicy: off;
    shadowDirection: right;
    shadowDistance: 5;
	fontFamily: 微软雅黑;
	fontSize: 12;
	fontWeight: normal;

    skinClass: ClassReference("com.esri.viewer.skins.WidgetTemplateSkin");
}

viewerComps|TitlebarButton
{
    skinClass: ClassReference("com.esri.viewer.skins.TitlebarButtonSkin");
}

mx|ComboBox
{
	cornerRadius: 4;
	dropDownStyleName: "myComboBoxDropDowns";
}
.myComboBoxDropDowns {
	cornerRadius: 4;
	borderThickness: 3;
	shadowDirection: left;
	shadowDistance: 1;
}
s|ButtonBar
{
	cornerRadius:4;
	fillAlphas: 0.64, 0.58, 0.75, 0.65;
	fillColors: #ffffff, #006699, #0033cc, #0099cc;
}
s|Button
{
	cornerRadius:4;
	fillAlphas: 0.64, 0.58, 0.75, 0.65;
	fillColors: #ffffff, #006699, #0033cc, #0099cc;
}
.BannerTitle
{
    padding-bottom: 2;
    padding-top: 4;
	fontFamily: 微软雅黑;
	fontSize: 14;
}

.BannerSubtitle
{
	fontFamily: 微软雅黑;
	fontSize: 12;
}

.WidgetTitle
{
    fontWeight: bold;
	fontFamily: 微软雅黑;
	fontSize: 14;
}


s|VScrollBar
{
    skinClass: ClassReference("com.esri.viewer.skins.VScrollBarSkin");
}
s|HScrollBar
{
    skinClass: ClassReference("com.esri.viewer.skins.HScrollBarSkin");
}
s|ComboBox
{
	upSkin: Embed(source='assets/images/comboBox_up.png',scaleGridLeft=10, scaleGridRight=160, scaleGridTop=10,scaleGridBottom=11);
	overSkin:Embed(source='assets/images/comboBox_over.png',scaleGridLeft=10, scaleGridRight=160, scaleGridTop=10,scaleGridBottom=11);
	downSkin:Embed(source='assets/images/comboBox_over.png',scaleGridLeft=10, scaleGridRight=160, scaleGridTop=10,scaleGridBottom=11);
	selectedUpSkin:Embed(source='assets/images/comboBox_up.png',scaleGridLeft=10, scaleGridRight=160, scaleGridTop=10,scaleGridBottom=11);
	selectedOverSkin:Embed(source='assets/images/comboBox_up.png',scaleGridLeft=10, scaleGridRight=160, scaleGridTop=10,scaleGridBottom=11);
	
	selectionColor:#4385d9;
	rollOverColor:#4385d9;
	textRollOverColor:#ffffff;
	textSelectedColor:#ffffff;
}

global
{
	content-background-color: #444242;
	chrome-color: #9D58FC;
}